package client.redis.impl.DO;

import client.redis.RedisTreeNode;

/**
 * DB节点
 * @author self
 *
 */
public class RedisDBTreeNode extends RedisTreeNode {

	/**
	 * DB编号
	 */
	private int db;

	public RedisDBTreeNode(int db) {
		this.db=db;
		
		this.setText("db("+db+")");
		this.setLeaf(false);
	}
	
	public int getDb() {
		return db;
	}
}
